/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.dao;

import com.rbh.risk.entity.Category;
import com.rbh.risk.entity.SeverityLevelDetail;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author M
 */
public interface SeverityLevelDetailDao {
    
    public void insert(SeverityLevelDetail severityLevelDetail) throws DataAccessException;
    
    public void update(SeverityLevelDetail severityLevelDetail) throws DataAccessException;
    
    public void delete(SeverityLevelDetail severityLevelDetail) throws DataAccessException;
    
    public SeverityLevelDetail getById(Integer severityLevelDetailId) throws DataAccessException;
    
    public List<SeverityLevelDetail> getAll() throws DataAccessException;
    
    public List<SeverityLevelDetail> getByDefault() throws DataAccessException;
    
    public List<SeverityLevelDetail> getByCategory(Category category) throws DataAccessException;
}